
  <div class="conteudo">
  <div class="clear"></div>
  
	<div class="banner-fita">
            <?php 
            foreach ($registro_banners as $ban){
                if($ban->ban_posicao == 2){
            ?>
                    <img src="<?php echo base_url('assets/img_banner/'.$ban->ban_img)?>" width="984" height="45" />
            <?php 
                }
           }
            ?>
        </div>
       
  
  
    <div class="esq-home">
        
        
   	<div class="news-home">
        	<div class="news-nome"><input type="text"  value="Nome" /></div>
            <div class="news-email"><input type="email" value="Email" /></div>
            <div class="news-bt"><input type="submit" value="" /></div>
        </div>
        
        
        <?php // ------- --- --- Banner lateral superior -------- --- -------- ----- -------------- ---- -------- ------- -------- ?>
        <div class="banner-lateral1">  
            <?php 
            foreach ($registro_banners as $ban){
                if($ban->ban_posicao == 1){
            ?>
                    <img src="<?php echo base_url('assets/img_banner/'.$ban->ban_img)?>" width="217" height="206" />
            <?php 
                }
            }
            ?>
        </div>        
        <?php // ------- ------ fim Banner lateral superior----------- ------------- ------------------ --------------- -------- ?>
        
        
        <?php // ------- ------ Banner lateral inferior----------- ------------- ------------------ --------------- -------- ?>
        <div class="banner-lateral2">
            <?php 
            foreach ($registro_banners as $ban){
                if($ban->ban_posicao == 3){
            ?>
                    <img src="<?php echo base_url('assets/img_banner/'.$ban->ban_img)?>" width="217" height="206" />
            <?php 
                }
            }
            ?>
        </div>
        <?php // ------- ------ fim Banner lateral inferior----------- ------------- ------------------ --------------- -------- ?>
        
        
        <div class="destaque-home">
        	<div class="top-destaque"></div>
            <div class="destaques-fund">
             <div class="jcarousel-skin-tango">
             <ul id="mycarousel" class="mycarousel jcarousel jcarousel-list jcarousel-list-vertical">
    <?php
     foreach ($registro_produtos_destaque_home as $pro){
    ?>
                 
                 <li style="height: 170px">
                <div class="item-destaque">
                    <div class="img-destaque"><img src="<?php echo base_url('assets/img_produto/'.$pro->prod_img)?>" width="120" height="90"></div>
                    <div class="nome-destaque"><?php echo $pro->prod_nome ?></div>
                    <div class="preco-de-des"><?php echo $pro->prod_preco_fake ?></div>
                    <div class="preco-por-des"><?php echo $pro->prod_preco_real ?></div>
                    
            	<!--item-destaque-->
                </div>
                </li>

    <?php
    }
    ?>                
                
             </ul>
  		 </div>
                  <div class="clear"></div>
            <!--destaquefundo-->
            </div>
            
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/site/arquivos/skin.css')?>">
<script type="text/javascript" src="<?php echo base_url('assets/site/arquivos/jquery-1.js')?>"></script>
<script type="text/javascript" src="<?php echo base_url('assets/site/arquivos/jquery.js')?>"></script>

<script type="text/javascript">

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        vertical: true,
        scroll: 2
    });
});

</script>
        </div>
    <!--esq-home-->
    </div>
    
  
  
  
    <div class="dir-home">
    	<div class="banner-home">
            
            <?php 
            foreach ($registro_banners as $ban){
                if($ban->ban_posicao == 4){
            ?>
                    <img src="<?php echo base_url('assets/img_banner/'.$ban->ban_img)?>" width="744" height="312" />
            <?php 
                }
            }
            ?>
        </div>
        
        
        
        
        
    <div class="clear"></div>
    <div class="marcas-home">

    <!-- Elastislide Carousel -->

        <ul id="carousel" class="elastislide-list">
            <?php 
            foreach ($registro_fabricantes as $fab){
            ?>
            <li><a href="#"><img src="<?php echo base_url('assets/logo_fornecedores/'.$fab->fab_logo)?>" alt="image<?php echo $fab->fab_id?>" width="110" height="50" style="padding-right: 20px"/></a></li>
            <?php 
            }
            ?>
        </ul>

    <!-- End Elastislide Carousel -->
    <!--<script type="text/javascript" src="js/jquery.min.js"></script>-->
                                
<script type="text/javascript" src="<?php echo base_url('assets/site/js/jquery.elastislide.js')?>"></script>
		
<script type="text/javascript">
			
    $('#carousel').elastislide();

</script>
			
<!--marcas-home-->  
</div>
        
    
        <div class="produtos">
            
    <?php
     foreach ($registro_produtos_destaque_home_central as $pro){
    ?>          
        
            <div class="produto-item2">
            	<div class="img-produto"><img src="<?php echo base_url('assets/img_produto/'.$pro->prod_img);?>" width="190" height="150"></div>
                <div class="nome-destaque"><?php echo $pro->prod_nome ?></div>
                <div class="preco-de-des">De: <?php echo $pro->prod_preco_fake ?></div>
                <div class="preco-por-des">Por: <?php echo $pro->prod_preco_real ?></div>
                <?php
                 if($pro->prod_parcelas == 0){                     
                     
                 }else{
                    
                    $qtd_parcelas = $pro->prod_parcelas;
                    $valor_parcelas = ($pro->prod_preco_real/$qtd_parcelas);
                    $valor_parcelas = str_replace('.',',',$valor_parcelas);
                    $valor_parcelas = number_format($valor_parcelas, "2", "," , ",");
                    echo '<div class="sem-juros">Em até '.$qtd_parcelas.'x de R$'.$valor_parcelas.' s/ juros</div>';
                 }
                ?>
                
                <div class="ouem">ou R$ 290,00 à vista</div>
            <!--produto-item-->
            </div>

    <?php
     }
    ?>   
        
        </div>     
        
           <!--dir-home-->      
        </div>    
   
    </div>

  <div class="clear"></div>
  <!--conteudo-->
 